Average sentence length |
---|
16.7278 |
sentence length | percentage |
---|---|
3 | 0.1400 |
4 | 0.7500 |
5 | 1.2800 |
6 | 2.3500 |
7 | 3.1300 |
8 | 4.5500 |
9 | 4.6200 |
10 | 5.3800 |
11 | 5.3000 |
12 | 5.6600 |
13 | 6.0000 |
14 | 5.6400 |
15 | 5.2600 |
16 | 5.4100 |
17 | 4.8500 |
18 | 4.3900 |
19 | 4.2300 |
20 | 3.5500 |
21 | 3.5700 |
22 | 3.1400 |
23 | 2.9900 |
24 | 2.4300 |
25 | 2.0600 |
26 | 1.8500 |
27 | 1.5000 |
28 | 1.4400 |
29 | 1.2600 |
30 | 1.3700 |
31 | 1.0900 |
32 | 0.7800 |
33 | 0.7400 |
34 | 0.6400 |
35 | 0.7100 |
36 | 0.4700 |
37 | 0.4700 |
38 | 0.2400 |
39 | 0.2400 |
40 | 0.1000 |
41 | 0.1400 |
42 | 0.0900 |
43 | 0.0800 |
44 | 0.0600 |
45 | 0.0100 |
46 | 0.0200 |
47 | 0.0100 |
48 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters